package systems.database.query.exceptions;

/**
 * This exception is used to inform that the columns you are trying to get is
 * not found.<br/>
 * Ex: SELECT id FROM table ORDER BY name ;<br/>
 *   	                             ^^^^ <br/>	
 * Here the field named 'name' is not selected, a ColumnNotSelected exception
 * will be throw.
 * @author grayfox
 *
 */
public class ColumnNotSelected extends Exception {
	private static final long serialVersionUID = 1L;

	public ColumnNotSelected(String columnName)
	{
		System.out.println("The '"+columnName+"' is not found. Make sure you selected it in the SELECT part of the query.");
	}
}
